package com.stp.service.impl;


import com.stp.constant.annotation.AsyncExec;
import com.stp.constant.enums.AsyncTypeEnum;
import com.stp.service.TestService;
import lombok.extern.slf4j.Slf4j;

import org.springframework.stereotype.Service;


@Slf4j
@Service
public class TestServiceImpl implements TestService {

    @AsyncExec(type = AsyncTypeEnum.SAVE_ASYNC, remark = "测试")
    @Override
    public void test() {
        log.info("test");
    }
}
